import request from '@/utils/request'

export function getStudentList(query) {
return request({
    url: '/student/student/list',
    method: 'get',
    params: query
    })
}

export function addStudent(data) {
  return request({
    url: '/student/student/addStudent',
    method: 'post',
    data: data
  })
}

export function editStudent(data) {
  return request({
    url: '/student/student/editStudent',
    method: 'post',
    data: data
  })
}

export function delStudent(data) {
  return request({
    url: '/student/student/delStudent',
    method: 'post',
    data: data
  })
}

export function getClass() {
  return request({
    url: '/Class/Class/list',
    method: 'get',
  })
}